#pragma once
#include<iostream>
using namespace std;
class Date
{
public:
	Date(int year = 2024, int month = 2, int day = 14);
	
	bool operator=(Date& d)
	{
		d._year = _year;
		d._month = _month;
		d._day = _day;
	}
	void print()const
	{
		cout << _year << "_" << _month << "_" << _day << endl;
	}
private:
	int _year;
	int _month;
	int _day;
};
